﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SQLRunnerLib
{
    [Serializable()]
    public class PlaceHolder
    {
        private string _name;
        private string _value;

        public PlaceHolder()
        {
        }

        public PlaceHolder(string name, string value)
        {
            this._name = name;
            this._value = value;
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string NameWith
        {
            get { return String.Format(@"\${{{0}}}", _name); }
        }

        public string Value
        {
            get { return _value; }
            set { _value = value; }
        }

    }
}
